Optimal. Leaf size=198 \[ \frac {e \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^5 (-3 a B e+A b e+2 b B d)}{6 b^4}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^4 (b d-a e) (-3 a B e+2 A b e+b B d)}{5 b^4}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^3 (A b-a B) (b d-a e)^2}{4 b^4}+\frac {B e^2 \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^6}{7 b^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 198, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {770, 77} \[ \frac {e \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^5 (-3 a B e+A b e+2 b B d)}{6 b^4}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^4 (b d-a e) (-3 a B e+2 A b e+b B d)}{5 b^4}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^3 (A b-a B) (b d-a e)^2}{4 b^4}+\frac {B e^2 \sqrt {a^2+2 a b x+b^2 x^2} (a+b x)^6}{7 b^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 770
Rubi steps
\begin {align*} \int (A+B x) (d+e x)^2 \left (a^2+2 a b x+b^2 x^2\right )^{3/2} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (a b+b^2 x\right )^3 (A+B x) (d+e x)^2 \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (\frac {(A b-a B) (b d-a e)^2 \left (a b+b^2 x\right )^3}{b^3}+\frac {(b d-a e) (b B d+2 A b e-3 a B e) \left (a b+b^2 x\right )^4}{b^4}+\frac {e (2 b B d+A b e-3 a B e) \left (a b+b^2 x\right )^5}{b^5}+\frac {B e^2 \left (a b+b^2 x\right )^6}{b^6}\right ) \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=\frac {(A b-a B) (b d-a e)^2 (a+b x)^3 \sqrt {a^2+2 a b x+b^2 x^2}}{4 b^4}+\frac {(b d-a e) (b B d+2 A b e-3 a B e) (a+b x)^4 \sqrt {a^2+2 a b x+b^2 x^2}}{5 b^4}+\frac {e (2 b B d+A b e-3 a B e) (a+b x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{6 b^4}+\frac {B e^2 (a+b x)^6 \sqrt {a^2+2 a b x+b^2 x^2}}{7 b^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 233, normalized size = 1.18 \[ \frac {x \sqrt {(a+b x)^2} \left (35 a^3 \left (4 A \left (3 d^2+3 d e x+e^2 x^2\right )+B x \left (6 d^2+8 d e x+3 e^2 x^2\right )\right )+21 a^2 b x \left (5 A \left (6 d^2+8 d e x+3 e^2 x^2\right )+2 B x \left (10 d^2+15 d e x+6 e^2 x^2\right )\right )+21 a b^2 x^2 \left (2 A \left (10 d^2+15 d e x+6 e^2 x^2\right )+B x \left (15 d^2+24 d e x+10 e^2 x^2\right )\right )+b^3 x^3 \left (7 A \left (15 d^2+24 d e x+10 e^2 x^2\right )+4 B x \left (21 d^2+35 d e x+15 e^2 x^2\right )\right )\right )}{420 (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.95, size = 239, normalized size = 1.21 \[ \frac {1}{7} \, B b^{3} e^{2} x^{7} + A a^{3} d^{2} x + \frac {1}{6} \, {\left (2 \, B b^{3} d e + {\left (3 \, B a b^{2} + A b^{3}\right )} e^{2}\right )} x^{6} + \frac {1}{5} \, {\left (B b^{3} d^{2} + 2 \, {\left (3 \, B a b^{2} + A b^{3}\right )} d e + 3 \, {\left (B a^{2} b + A a b^{2}\right )} e^{2}\right )} x^{5} + \frac {1}{4} \, {\left ({\left (3 \, B a b^{2} + A b^{3}\right )} d^{2} + 6 \, {\left (B a^{2} b + A a b^{2}\right )} d e + {\left (B a^{3} + 3 \, A a^{2} b\right )} e^{2}\right )} x^{4} + \frac {1}{3} \, {\left (A a^{3} e^{2} + 3 \, {\left (B a^{2} b + A a b^{2}\right )} d^{2} + 2 \, {\left (B a^{3} + 3 \, A a^{2} b\right )} d e\right )} x^{3} + \frac {1}{2} \, {\left (2 \, A a^{3} d e + {\left (B a^{3} + 3 \, A a^{2} b\right )} d^{2}\right )} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.18, size = 431, normalized size = 2.18 \[ \frac {1}{7} \, B b^{3} x^{7} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{3} \, B b^{3} d x^{6} e \mathrm {sgn}\left (b x + a\right ) + \frac {1}{5} \, B b^{3} d^{2} x^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{2} \, B a b^{2} x^{6} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{6} \, A b^{3} x^{6} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {6}{5} \, B a b^{2} d x^{5} e \mathrm {sgn}\left (b x + a\right ) + \frac {2}{5} \, A b^{3} d x^{5} e \mathrm {sgn}\left (b x + a\right ) + \frac {3}{4} \, B a b^{2} d^{2} x^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{4} \, A b^{3} d^{2} x^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{5} \, B a^{2} b x^{5} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{5} \, A a b^{2} x^{5} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{2} \, B a^{2} b d x^{4} e \mathrm {sgn}\left (b x + a\right ) + \frac {3}{2} \, A a b^{2} d x^{4} e \mathrm {sgn}\left (b x + a\right ) + B a^{2} b d^{2} x^{3} \mathrm {sgn}\left (b x + a\right ) + A a b^{2} d^{2} x^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{4} \, B a^{3} x^{4} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{4} \, A a^{2} b x^{4} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {2}{3} \, B a^{3} d x^{3} e \mathrm {sgn}\left (b x + a\right ) + 2 \, A a^{2} b d x^{3} e \mathrm {sgn}\left (b x + a\right ) + \frac {1}{2} \, B a^{3} d^{2} x^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{2} \, A a^{2} b d^{2} x^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{3} \, A a^{3} x^{3} e^{2} \mathrm {sgn}\left (b x + a\right ) + A a^{3} d x^{2} e \mathrm {sgn}\left (b x + a\right ) + A a^{3} d^{2} x \mathrm {sgn}\left (b x + a\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 304, normalized size = 1.54 \[ \frac {\left (60 B \,b^{3} e^{2} x^{6}+70 x^{5} A \,b^{3} e^{2}+210 x^{5} B \,e^{2} a \,b^{2}+140 x^{5} B \,b^{3} d e +252 x^{4} A a \,b^{2} e^{2}+168 x^{4} A \,b^{3} d e +252 x^{4} B \,e^{2} a^{2} b +504 x^{4} B a \,b^{2} d e +84 x^{4} B \,b^{3} d^{2}+315 x^{3} A \,a^{2} b \,e^{2}+630 x^{3} A a \,b^{2} d e +105 x^{3} A \,d^{2} b^{3}+105 x^{3} B \,e^{2} a^{3}+630 x^{3} B \,a^{2} b d e +315 x^{3} B a \,b^{2} d^{2}+140 x^{2} A \,a^{3} e^{2}+840 x^{2} A \,a^{2} b d e +420 x^{2} A \,d^{2} a \,b^{2}+280 x^{2} B \,a^{3} d e +420 x^{2} B \,a^{2} b \,d^{2}+420 x A \,a^{3} d e +630 x A \,d^{2} a^{2} b +210 x B \,a^{3} d^{2}+420 A \,d^{2} a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}} x}{420 \left (b x +a \right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.57, size = 456, normalized size = 2.30 \[ \frac {1}{4} \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} A d^{2} x - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} B a^{3} e^{2} x}{4 \, b^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} B e^{2} x^{2}}{7 \, b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} A a d^{2}}{4 \, b} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} B a^{4} e^{2}}{4 \, b^{4}} - \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} B a e^{2} x}{14 \, b^{3}} + \frac {17 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} B a^{2} e^{2}}{70 \, b^{4}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} {\left (2 \, B d e + A e^{2}\right )} a^{2} x}{4 \, b^{2}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} {\left (B d^{2} + 2 \, A d e\right )} a x}{4 \, b} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} {\left (2 \, B d e + A e^{2}\right )} a^{3}}{4 \, b^{3}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} {\left (B d^{2} + 2 \, A d e\right )} a^{2}}{4 \, b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} {\left (2 \, B d e + A e^{2}\right )} x}{6 \, b^{2}} - \frac {7 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} {\left (2 \, B d e + A e^{2}\right )} a}{30 \, b^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} {\left (B d^{2} + 2 \, A d e\right )}}{5 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \left (A+B\,x\right )\,{\left (d+e\,x\right )}^2\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (A + B x\right ) \left (d + e x\right )^{2} \left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________